<div id="content" class="<%= content_for :content_class %>">
  <% if content_for? :content %>
    <%= yield :content %>
  <% else %>
    <%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
    <% if content_for? :heading %>
      <div class="content-heading bg-body-secondary border-bottom border-secondary-subtle">
        <div class="content-inner position-relative m-auto <%= yield :heading_class %>">
          <%= yield :heading %>
        </div>
      </div>
    <% end %>
    <div class="content-body">
      <div class="content-inner position-relative m-auto">
        <%= yield %>
      </div>
    </div>
  <% end %>
</div>
